﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/CPPEI.Coolzon.UpdateServer" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/CPPEI.Coolzon.UpdateServer" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:complexType name="UploadResult">
    <xs:sequence>
      <xs:element minOccurs="0" name="FileName" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Length" type="xs:long" />
      <xs:element minOccurs="0" name="Start" type="xs:long" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="UploadResult" nillable="true" type="tns:UploadResult" />
  <xs:complexType name="UpdateVersionResult">
    <xs:sequence>
      <xs:element minOccurs="0" name="IsSuccess" type="xs:boolean" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="UpdateVersionResult" nillable="true" type="tns:UpdateVersionResult" />
  <xs:simpleType name="PatchType">
    <xs:restriction base="xs:string">
      <xs:enumeration value="Full" />
      <xs:enumeration value="Incremental" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="PatchType" nillable="true" type="tns:PatchType" />
  <xs:complexType name="PatchInfo">
    <xs:sequence />
  </xs:complexType>
  <xs:element name="PatchInfo" nillable="true" type="tns:PatchInfo" />
  <xs:complexType name="CheckVersionResult">
    <xs:sequence>
      <xs:element minOccurs="0" name="HasFullPatch" type="xs:boolean" />
      <xs:element minOccurs="0" name="HasIncrementalPatch" type="xs:boolean" />
      <xs:element minOccurs="0" name="IsNecessary" type="xs:boolean" />
      <xs:element minOccurs="0" name="IsNeedUpdate" type="xs:boolean" />
      <xs:element minOccurs="0" name="LatestVersion" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="CheckVersionResult" nillable="true" type="tns:CheckVersionResult" />
  <xs:complexType name="DownloadResult">
    <xs:sequence>
      <xs:element minOccurs="0" name="Data" nillable="true" type="xs:base64Binary" />
      <xs:element minOccurs="0" name="FileName" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="IsSuccess" type="xs:boolean" />
      <xs:element minOccurs="0" name="Length" type="xs:int" />
      <xs:element minOccurs="0" name="Start" type="xs:long" />
      <xs:element minOccurs="0" name="TotalSize" type="xs:long" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="DownloadResult" nillable="true" type="tns:DownloadResult" />
</xs:schema>